package com.qdlc.p2p.dal.dto;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 系统参数实体类
 *
 * @author liya
 * @version 1.1.0.0
 */
@Entity
@Table(name = "s_config")
public class SystemConfig  implements Serializable{

	private static final long serialVersionUID = -2859682329330593409L;

	/** 主键 */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private long id;

    /** 标识 */
    private String nid;

    /** 名称 */
    private String name;

    /** 值 */
    private String value;

    /** 备注 */
    private String remark;

    /** 类型，1：基础参数，...... */
    private int type;

    /** 状态，0：禁用，1：启用 */
    private int status;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNid() {
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
